/**
 * 获取环境变量
 */
function getDefine(environment) {
  var define
  if (environment == 'dev') define = require('./dev')
  if (environment == 'test') define = require('./test')
  define = {...define }

  console.log('--------------------------------------------')
  console.log(`--------------当前环境是${environment}----------------`)
  console.log('--------------------------------------------')
  console.log(define)

  return define
}
exports.getDefine = getDefine